package com.example.nacos.provider.model;

import java.io.Serializable;

/**
 * @ClassName : User
 * @Description : 用户entity
 * @Author : tianshuo
 * @Date: 2021-03-17 10:01
 */
public class User implements Serializable {

    public User(Integer id, String name) {
        this.id = id;
        this.name = name;
    }

    public User() {

    }


    private Integer id;

    private Integer age;

    private String name;

    private String addr;

    public User(Integer id, String name, String addr) {
        this.id = id;
        this.name = name;
        this.addr = addr;
    }

    public User(Integer id, Integer age, String name, String addr) {
        this.id = id;
        this.age = age;
        this.name = name;
        this.addr = addr;
    }


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAddr() {
        return addr;
    }

    public void setAddr(String addr) {
        this.addr = addr;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }
}

